<p class="select-menu"><?php echo $selected; ?></p>
<form class="form" action="<?php echo site_url('admin/lien-he/delete/submit') ?>" method="post">
    <div class="action-contact">
        <input type="submit" class="bt-delete-contact" name="bt-del" value="Xóa tin"/>
    </div>
    <table class="tb-show-contact">
        <thead>
            <tr>
                <th class="th-check">Chọn</th>
                <th class="th-name">Người liên hệ </th>
                <th class="th-phone">Điện thoại</th>
                <th class="th-email">Email</th>
                <th class="th-title">Chủ đề</th>
                <th class="th-date">Ngày Đăng</th>
            </tr>

        </thead>
        <tbody>
            <?php
            if (!empty($list_news)) {
                for ($i = 0; $i < count($list_news); $i++) {
                    ?>
                    <tr <?php if ($i == count($list_news) - 1) echo "class='tr-end'" ?>>
                        <td class="td-check"><input value="<?php echo $list_news[$i]['id'] ?>" type="checkbox" name="check[]"/></td>
                        <td class="td-name"><a href="<?php echo site_url('admin/lien-he/'.$list_news[$i]['id']).'/edit'; ?>"><?php echo $list_news[$i]['name'] ?></a></td>
                        <td class="td-phone"><a href="<?php echo site_url('admin/lien-he/'.$list_news[$i]['id']).'/edit'; ?>"><?php echo $list_news[$i]['phone'] ?></a></td>
                        <td class="td-email"><a href="<?php echo site_url('admin/lien-he/'.$list_news[$i]['id']).'/edit'; ?>"><?php echo $list_news[$i]['email'] ?></a></td>
                        <td class="td-title"><a href="<?php echo site_url('admin/lien-he/'.$list_news[$i]['id']).'/edit'; ?>"><?php echo $list_news[$i]['title'] ?></a></td>
                        <td class="td-date"><?php echo $list_news[$i]['created_date'] ?></td>
                    </tr>
                    <?php
                }
            }
            ?>
        </tbody>
    </table>
</form>
